using System;
using System.Collections.Generic;
using System.Text;

namespace JsonHTTPHandler.Errors
{
  public class MethodNotFoundError : ServiceNotFoundError
  {
    private string method;

    public string Method
    {
      get { return method; }
      set
      {
        method = value;
        this.Message = "Method not found: " + method;
      }
    }

    public MethodNotFoundError()
    {
    }

    public MethodNotFoundError(string method)
    {
      this.Method = method;
    }
  }
}
